package com.hducms.cms.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hducms.cms.dao.ChannelExtDao;
import com.hducms.cms.entity.main.Channel;
import com.hducms.cms.entity.main.ChannelExt;
import com.hducms.cms.service.ChannelExtService;

@Service
@Transactional
public class ChannelExtServiceImpl implements ChannelExtService {

	public ChannelExt save(ChannelExt ext) {
		dao.save(ext);
		return ext;
	}
	
	@Override
	public void update(ChannelExt ext) {
		dao.update(ext);
	}
	
	private ChannelExtDao dao;

	@Autowired
	public void setDao(ChannelExtDao dao) {
		this.dao = dao;
	}
 
}
